package org.itstack.demo.design.lang;

/**
 * 迭代器定义
 * @param <E>
 */
public interface Iterator<E> {

    boolean hasNext();

    E next();

}
